package com.hornsun.repository.mapper;

import com.hornsun.domain.dbo.MedicalRecord;
import com.hornsun.domain.dbo.MedicalRecordExample;
import java.util.List;

import com.hornsun.domain.dto.MedicalDTO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Component;

@Component
public interface MedicalRecordMapper {
    long countByExample(MedicalRecordExample example);

    int deleteByExample(MedicalRecordExample example);

    int deleteByPrimaryKey(String memberGuid);

    int insert(MedicalRecord record);

    int insertSelective(MedicalRecord record);

    List<MedicalRecord> selectByExampleWithRowbounds(MedicalRecordExample example, RowBounds rowBounds);

    List<MedicalRecord> selectByExample(MedicalRecordExample example);

    MedicalRecord selectByPrimaryKey(String memberGuid);

    int updateByExampleSelective(@Param("record") MedicalRecord record, @Param("example") MedicalRecordExample example);

    int updateByExample(@Param("record") MedicalRecord record, @Param("example") MedicalRecordExample example);

    int updateByPrimaryKeySelective(MedicalRecord record);

    int updateByPrimaryKey(MedicalRecord record);

    List<MedicalDTO> selectMedicalDTO(String memberGuid);
}